package com.jymj.service;

import com.jymj.entity.KeyValueEntity;
import com.jymj.entity.Renovated;
import com.jymj.entity.RenovatedFile;
import com.jymj.entity.dto.RenovatedDto;
import com.jymj.entity.model.PointAndTypeEntity;
import com.jymj.entity.vo.StatisticalEntity;
import org.springframework.web.multipart.MultipartFile;

import java.io.FileNotFoundException;
import java.util.List;

/**
 * Created by ${lc} on 2021/6/16.
 */
public interface RenovatedService {
    List<StatisticalEntity> getStatistical(String date);

    RenovatedFile uploadFile(MultipartFile file) throws FileNotFoundException;

    void saveOrUpdate(RenovatedDto renovatedDto);

    void deleteFile(Long[] ids);

    void deleteRenovated(RenovatedDto renovatedDto);

    RenovatedDto getRenovated(String point);

    List<RenovatedDto> getRenovatedList(String code, String xzqmc, Long userId ,Long Id,Integer qutype);

    List<Renovated> queryList(RenovatedDto renovatedDto);

    RenovatedDto queryInfo(Long id);

    KeyValueEntity getSteps(RenovatedDto renovatedDto);

    List<KeyValueEntity> getRenovatedByxy(PointAndTypeEntity pointAndTypeEntity);
}
